package com.adinnet.admin.system.service;

import com.adinnet.admin.system.model.SysRole;
import com.adinnet.admin.system.model.vo.SysUserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author sunjianbo
 * @since 2019-05-17
 */
public interface SysRoleService extends IService<SysRole> {

    List<SysRole> getListByUserRole(SysUserInfo sysUserInfo);

    SysRole getRoleByRoleCode(String roleCode);
}
